package com.lq.ecoldchain.ui.mine.carInfo.carline.city

import com.chad.library.adapter.base.BaseQuickAdapter
import com.chad.library.adapter.base.BaseViewHolder
import com.lq.ecoldchain.R
import com.lq.ecoldchain.entity.City

/*
*2019/1/3 0003  10:27
*function by lq
*/
class CityAllAdapter(list:List<City>):BaseQuickAdapter<City,BaseViewHolder>(R.layout.city_item,list){
    override fun convert(helper: BaseViewHolder?, item: City?) {
        helper?.addOnClickListener(R.id.cityItemRl)
        helper?.setText(R.id.cityItemNameTv,item?.cityName)
    }

}